<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title></title>
<!--  <script src="/config.js"></script>-->
  <script  type="module">
    import { getSystemName } from "@/services/setting"
    import {getSystemNameOut} from "./src/services/setting.js";
    getSystemName().then((res) => {
        if (res.code === 200) {
            document.title = res.data.paramValue.replace(/<[^>]*>/g, ''); // 移除所有 HTML 标签
        }
      // window.CONFIG.title = res.data.paramValue
      // document.title = res.data.paramValue

    })
    getSystemNameOut().then(res => {
        if (res.code === 200) {
            document.title = res.data.paramValue.replace(/<[^>]*>/g, ''); // 移除所有 HTML 标签
        }
    })
  </script>
</head>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.ts"></script>
</body>

</html>